package com.example.seckilldemo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.seckilldemo.pojo.Order;
import com.example.seckilldemo.pojo.User;
import com.example.seckilldemo.vo.GoodsVo;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lambyang
 * @since 2024-03-19
 */
public interface IOrderService extends IService<Order> {

    Order seckill(User user, GoodsVo goodsVo);

    String createPath(Long goodsId,User user);

    boolean checkPath(Long goodsId,User user,String path);

    boolean checkCaptcha(Long goodsId,String captcha,User user);
}
